package com.article.service;

import com.article.entity.dto.IdsDao;
import com.article.entity.pojo.ColumnList;

import com.article.entity.vo.ColumnListVo;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;

public interface ColumnService extends IService<ColumnList> {
    List<ColumnListVo> getColumn(int pid, int page, int size);

    Boolean insetColumn(ColumnList columnList);

    Boolean deleteColumn(IdsDao idsDao);

    Boolean updateColumn(ColumnList columnList);

    int getColumnNumber();

    List<ColumnListVo> searchColumnByName(String name, Integer pid, Integer page, Integer size);

    int getColumnNumber1(String name, int pid);
}
